<?php
	$duration = 15;

?>
<?php if($this->beginCache('can_cache', ['deration' =>$duration])){?>
<div class="can_cache">
	<div>这里将会被缓存asdfg！</div>
</div>
<?php $this->endCache();
}
?>
<div class="no_cache">
	<div>这里将不会被缓存asdfg！</div>
</div>